/*  
 * @(#) JqResult.java Create on 2012-5-5 上午9:51:01   
 *   
 * Copyright 2012 by xl.   
 */

package cn.com.common.base.bean;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * ajax请求页面返回的对象
 * 
 * @author zhl
 * @date 2012-5-5
 */
public class BackstageResult {
	private boolean status;
	private Object msg;

	public BackstageResult() {
	}

	public BackstageResult(boolean status, Object msg) {
		super();
		this.status = status;
		this.msg = msg;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public Object getMsg() {
		return msg;
	}

	public void setMsg(Object msg) {
		this.msg = msg;
	}
	
	public String toString() {
		return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE, true, true);
	}
}
